<template>
  <div class="top">
    <div class="mi_title">
      <a href=""><img src="@/assets/img/logins.png" alt=""></a>
      <span>智慧商城账号</span>
    </div>
    <div class="mi_nav">
      <div class="UserAgr"><a href="">用户协议</a></div>
      <div class="Privacy"><a href="">隐私政策</a></div>
      <div class="Help"><a href="">帮助中心</a></div>
      <span>|</span>
      <div class="dropdown">
        <div class="dropbtn">中文(简体)</div>
        <div class="dropdown-content">
          <a href="#">中文(繁体)</a>
          <a href="#">English</a>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: #f1f1f1;
}

.top .mi_title {
  margin-left: 20px;
  display: flex;
  align-items: center;
  width: 225px;
  height: 60px;
}

.top .mi_title img {
  text-align: center;
  width: 50px;
  height: 50px;
}

.top .mi_title span {
  margin-left: 10px;
  color: #333;
  font-size: 26px;
  font-weight: 520;
  line-height: 40px;
  text-align: center;
}

.top .mi_nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 400px;
  height: 60px;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
}

.top .mi_nav span {
  width: 40px;
  color: #999999;
}

.top .mi_nav a {
  color: #999999;
  font-weight: 540;
}

.mi_nav .UserAgr,
.Privacy,
.Help {
  width: 60px;
}

.mi_nav .dropbtn {
  /* background-color: #4CAF50; */
  color: #999999;
  padding: 16px;
  font-size: 14px;
  border: none;
  font-weight: 545;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  font-size: 12px;
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #fff;

}

.dropdown:hover .dropdown-content {
  display: block;
}
</style>